#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
#include<stdlib.h>
#include<time.h>
#include<windows.h>
extern int row;
extern int col;
extern int num_mile;
int find(char (*p)[col+2], int x, int y);
void game(char arr1[row+2][col+2], char arr2[row+2][col+2]);
void print(char(*p)[col+2]);
int worf(char (*p1)[col + 2], char(*p2)[col + 2], int x, int y, int ssum);
void display(char(*p2)[col+2], char(*p1)[col+2], int y, int x);
void minle_mark(char(*p1)[col + 2], char(*p2)[col + 2], int x, int y, int* ssum);
int jud(char(*p1)[col + 2], int x, int y);